package com.yd.domain.business;

import com.yd.domain.commom.DomainObject;

import java.util.Date;

/**
 * @author zy
 * @create 2018-03-07 9:26
 * @desc 分享
 **/
public class Share extends DomainObject<Share> {
    private Date publishTime=new Date();//发布时间
    private String publishUser;//发布人
    private String title;//标题
    private String des;//描述
    private String status;//状态
    private String goodId;//商品ID
    /**
     * @Author: zy
     * @Desc: 数据查询列表
     * @Date:  2018/3/9
     * @Param
     */
    private String statusName;//状态名称
    private float perWeight;//重量
    private String number;
    private float price;//价格
    private String goodTitle;//商品数量
    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getPublishUser() {
        return publishUser;
    }

    public void setPublishUser(String publishUser) {
        this.publishUser = publishUser;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getGoodId() {
        return goodId;
    }

    public void setGoodId(String goodId) {
        this.goodId = goodId;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public float getPerWeight() {
        return perWeight;
    }

    public void setPerWeight(float perWeight) {
        this.perWeight = perWeight;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getGoodTitle() {
        return goodTitle;
    }

    public void setGoodTitle(String goodTitle) {
        this.goodTitle = goodTitle;
    }

    @Override
    public String toString() {
        return "Share{" +
                "publishTime=" + publishTime +
                ", publishUser='" + publishUser + '\'' +
                ", title='" + title + '\'' +
                ", des='" + des + '\'' +
                ", status='" + status + '\'' +
                ", goodId='" + goodId + '\'' +
                ", statusName='" + statusName + '\'' +
                ", perWeight=" + perWeight +
                ", number='" + number + '\'' +
                ", price=" + price +
                ", goodTitle='" + goodTitle + '\'' +
                '}';
    }
}
